# eric7.Plugins.VcsPlugins.vcsMercurial.ShelveBuiltin.HgShelvesSelectionDialog

Module implementing a dialog to select multiple shelve names.

### Global Attributes

None

### Classes

HgShelvesSelectionDialog | Class implementing a dialog to select multiple shelve names.

### Functions

None

## HgShelvesSelectionDialog

Class implementing a dialog to select multiple shelve names.

### Derived from

QDialog, Ui_HgShelvesSelectionDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgShelvesSelectionDialog | Constructor
getSelectedShelves | Public method to retrieve the selected shelve names.
on_shelvesList_itemSelectionChanged | Private slot to enabled the OK button if items have been selected.

### Static Methods

None

#### HgShelvesSelectionDialog (Constructor)

HgShelvesSelectionDialog(message, shelveNames, parent=None)

Constructor

message (str)
  message to be shown
shelveNames (list of str)
  list of shelve names
parent (QWidget)
  reference to the parent widget

#### HgShelvesSelectionDialog.getSelectedShelves

getSelectedShelves()

Public method to retrieve the selected shelve names.

Return:
  selected shelve names

Return Type:
  list of str

#### HgShelvesSelectionDialog.on_shelvesList_itemSelectionChanged

on_shelvesList_itemSelectionChanged()

Private slot to enabled the OK button if items have been selected.

Up